import request from '@/utils/request'

/**
 * 查询物流快递鸟配置
 * @param enterpriseExpressId 企业物流ID
 */
export function getKdnConfig(enterpriseExpressId) {
  return request({
    url: '/user/enterpriseExpressKdnConfig/getKdnConfig',
    method: 'get',
    params: {
      enterpriseExpressId: enterpriseExpressId
    }
  })
}
/**
 * 保存物流快递鸟配置
 * @param params
 */
export function saveKdnConfig(data) {
  return request({
    url: '/user/enterpriseExpressKdnConfig/save',
    method: 'post',
    data: data
  })
}
